fixed return value when malloc or free fails for gmalloc, gfree, and gfree_dma in lib
fixed return value when malloc or free fails for gmalloc, gfree, and gfree_dma in lib

CPFL/gdev,shinpei0208/gdev,CPFL/gdev,shinpei0208/gdev,shinpei0208/gdev,CPFL/gdev,CPFL/gdev,shinpei0208/gdev