Los Angeles and Orange County homeowners are reacting to the state’s housing shortage by building more “granny flats.” The region saw permits double last year.