Frustrated magnetic interactions in FeSe