A 24-year-old man has been charged and bailed after allegedly making homophobic comments and threats in Sydney’s inner-eastern suburbs.