Flera personer har skottskadats i en attack vid en domstol i Istanbul, uppger Turkiets inrikesminister.