Thailand plans to go to bankruptcy court with Thai Airways rehab plan - official