Alabama court says state can execute inmate with nitrogen gas