reboot: Use threads to avoid slowing down UI

author: @zwliew
fixed build error
GPU: Set Mali pam default value to 16MB