jinja_templates: Increase simlimit to 2000 for MPS2 in Debug

The tests for psa-api for AN521 in Debug mode take much
longer than the timeout.

 - Add a new `build_type` parameter in generate_test_definitions to
conditionally choose the simlimit time based on the build type.

 - Double the time since the tests stopped somehow just over
half way through (+ some margin).

Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Change-Id: I92c5348aa7762922619bf6b6bb73aa1cd234a5ee
2 files changed