Andrew H. Walker/Getty Images Bette Midler is sharing the secret to her nearly 40-year marriage with husband Martin von Haselberg. “Separate bedrooms,” Midler, 78, told Entertainment Tonight on Thursday, July 25, while promoting her new comedy, The Fabulous Four. “My husband snores.” The Hocus Pocus star – who tied the knot with von Haselberg in…