Inmate dying of asthma 'told to wake up'