[bal] Add gd_{alloc,free}_pages syscalls.