libdpx: fix missing return statements.

ref: CID 44007, 44008, 44009