kernel: Fix assertion in atomic_pointer_{get,set}()
kernel, libroot: Minor improvements in transactional memory code

 * Use bool instead of [u]int32 where possible
 * Create a flags field in user_space_program_args and use it to
   pass information whether transactional memory is available.