Analytical search for homoclinic bifurcations in the Shimizu-Morioka model