rs6000-record: Implement process_record_signal.

   * Implement process_record_signal.
   * Add comments for ioctl/syscall numbers.