Update device prototypes

Delete malloc and build_program, add unmap.
Add myself to CREDITS
Fix TCE build after the declaration of the old mem alloc function was removed from prototypes.inc