You can make an open generic mapping:
// using SimpleInjector.Extensions;
container.RegisterOpenGeneric(
typeof(IGenericRepository<,>),
typeof(GenericRepository<,>));
The RegisterOpenGeneric
extension method is located in the SimpleInjector.Extensions
namespace of the core library.
That will elegantly solve your problem.