Packaging methods for integrated thermal gas flow sensors