npwrapper: fix flash loading on 32bit systems