Fix prowizard loader to use memory I/O

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Use macro to get memory i/o handle type

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>