gadget-init: add RDEPENDS=devmem2

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
gadget-init: remove bashisms

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>