hooks/: use the getarg function to get kernel cmdline parameters
mkinitcpio v39 deprecated the use of global variables as a way for
getting the value of kernel cmdline parameters in favour of the
new getarg
function.
Fixes #19 (closed)
Edited by nl6720